/**
 * 
 * 深圳市店联电子商务有限公司
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name  工作经验
 * @Author：朱攀
 * @Date：2012-07-30
 */
@Entity
@Table(name="texperience")
public class TTexperience implements Serializable{

	private static final long serialVersionUID = 1L;
	
	
	

	private String ExperID;//经验编号CHAR(15)
	
	private Date StartDate;  //开始时间
	private Date EndDate;    //结束时间
	private String Company;  //公司名称
	private String Job;     //职位名称
	private String Des;     //描述
	//private String ResumeID;  //简历编号
	
	private TResume  tResume;
	
	@Id
	@Column(name = "ExperID", length=15)
	public String getExperID() {
		return ExperID;
	}
	public void setExperID(String experID) {
		ExperID = experID;
	}
	
	public Date getStartDate() {
		return StartDate;
	}
	public void setStartDate(Date startDate) {
		StartDate = startDate;
	}
	
	
	public Date getEndDate() {
		return EndDate;
	}
	public void setEndDate(Date endDate) {
		EndDate = endDate;
	}
	@Column(name = "Company")
	public String getCompany() {
		return Company;
	}
	public void setCompany(String company) {
		Company = company;
	}
	@Column(name = "Job")
	public String getJob() {
		return Job;
	}
	public void setJob(String job) {
		Job = job;
	}
	@Column(name = "Des")
	public String getDes() {
		return Des;
	}
	public void setDes(String des) {
		Des = des;
	}
//	public String getResumeID() {
//		return ResumeID;
//	}
//	public void setResumeID(String resumeID) {
//		ResumeID = resumeID;
//	}  
	
	
	@ManyToOne
	@JoinColumn(name="ResumeID")
	public TResume getTResume() {
		return tResume;
	}
	public void setTResume(TResume resume) {
		tResume = resume;
	}
	

	

}
